package com.example.base.mapper;

import com.example.base.entity.Building;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BuildingMapper {
    Integer getIdByBuildingName(String name);
    Building getBuildingById(Integer id);
    List<Building> getAllBuildings();
}
